package com.compus_help.entity.Pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student {

    // 学生id
    private Integer studentId;

    // 学号
    @JsonProperty("campus_card_number")
    private String campusCardNumber;

    // 性别
    private String gender;

    // 年龄
    private Integer age;

    // 头像
    private String image;

    // 班级名
    @JsonProperty("class_name")
    private String className;

    // 学院
    private String college;

    // 姓名
    @JsonProperty("student_name")
    private String studentName;

    // 密码
    private String password;

    // 是否可接单
    private String canAcceptOrder;

    // 是否可发布单
    private String canPublishOrder;

    // 手机号
    private String phone;

    // 创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    // 更新时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    // 创建人
    private String createUser;

    // 更新人
    private String updateUser;

    // 取消次数
    private Integer cancelCount;

    public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }

    public String getCampusCardNumber() {
        return campusCardNumber;
    }

    public void setCampusCardNumber(String campusCardNumber) {
        this.campusCardNumber = campusCardNumber;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getCollege() {
        return college;
    }

    public void setCollege(String college) {
        this.college = college;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCanAcceptOrder() {
        return canAcceptOrder;
    }

    public void setCanAcceptOrder(String canAcceptOrder) {
        this.canAcceptOrder = canAcceptOrder;
    }

    public String getCanPublishOrder() {
        return canPublishOrder;
    }

    public void setCanPublishOrder(String canPublishOrder) {
        this.canPublishOrder = canPublishOrder;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Integer getCancelCount() {
        return cancelCount;
    }

    public void setCancelCount(Integer cancelCount) {
        this.cancelCount = cancelCount;
    }
}
